<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use	Exception;
use App\User;
use App\Online;

use Illuminate\Database\Eloquent\Model;
use App\Account;
use App\Connect;
use App\Log_login;
use App\Log_logout;
use App\Product;
use App\Coupon;



class CheckController extends Controller
{
    /**
     * @param $account
     * @return mixed
     * 检测用户是否存在
     */
    static function CheckAccount($account)
    {
       $ret =  User::where('name',$account)->first();
        return $ret;
    }






}